<?php /* Smarty version 2.6.26, created on 2015-06-01 13:39:03
         compiled from D:/www/wamp/www/0423/0527+WenDa/WenDa/index/View/index/Member_myAnswer.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'D:/www/wamp/www/0423/0527 WenDa/WenDa/index/View/index/Member_myAnswer.html', 50, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<link rel="stylesheet" href="<?php echo @__PUBLIC__; ?>
/Css/common.css" />
	<script type="text/javascript" src='<?php echo @__PUBLIC__; ?>
/Js/jquery-1.7.2.min.js'></script>
	<script type="text/javascript" src='<?php echo @__PUBLIC__; ?>
/Js/top-bar.js'></script>
	<link rel="stylesheet" href="<?php echo @__PUBLIC__; ?>
/Css/member.css" />
	<script type="text/javascript" src='<?php echo @__PUBLIC__; ?>
/Js/member.js'></script>
</head>
<body>
	<!-- top -->
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- top结束 -->
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../index/left.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- 左侧结束 -->
		<div id='right'>
			<p class='title'>我的回答</p>
			<ul class='ask-filter'>
				<li class='cur'>全部回答</li>
				<li>被采纳的回答</li>
			</ul>
			<div class='list list-filter '>
				<table>
					<?php if ($this->_tpl_vars['searchUserInfo']['answer'] < 1): ?>
						<tr height='140'>
							<td>你还没有回答过问题</td>
						</tr>
					<?php endif; ?>

							<?php if ($this->_tpl_vars['searchUserInfo']['answer'] > 0): ?>
					  	<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
							<?php $_from = $this->_tpl_vars['searchUserAnswerInfo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['answer']):
?>

						<tr>
							<td class='t1'>
								<a href="<?php echo @__APP__; ?>
?c=show&cid=<?php echo $this->_tpl_vars['answer']['cid']; ?>
&asid=<?php echo $this->_tpl_vars['answer']['asid']; ?>
"><?php echo $this->_tpl_vars['answer']['content']; ?>
</a><span>[<?php echo $this->_tpl_vars['answer']['title']; ?>
]</span>
							</td>
							<td><?php echo $this->_tpl_vars['answer']['answer']; ?>
</td>
							<td class='t3'><?php echo ((is_array($_tmp=$this->_tpl_vars['answer']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y/%m/%e") : smarty_modifier_date_format($_tmp, "%Y/%m/%e")); ?>
</td>
						</tr>
						<?php endforeach; endif; unset($_from); ?>
						<?php endif; ?>
				</table>
			</div>
			<div class='list list-filter hidden'>
				<table>
					<?php if ($this->_tpl_vars['searchUserInfo']['answer'] < 1): ?>
						<tr height='140'>
							<td>你还没有回答被采纳的问题</td>
						</tr>
					<?php endif; ?>

							<?php if ($this->_tpl_vars['searchUserInfo']['answer'] > 0): ?>
					  	<tr>
							<th class='t1'>标题</th>
							<th>回答</th>
							<th class='t3'>更新时间</th>
						</tr>
							<?php $_from = $this->_tpl_vars['myAnswer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['answer']):
?>

						<tr>
							<td class='t1'>
								<a href="<?php echo @__APP__; ?>
?c=show&cid=<?php echo $this->_tpl_vars['answer']['cid']; ?>
&asid=<?php echo $this->_tpl_vars['answer']['asid']; ?>
"><?php echo $this->_tpl_vars['answer']['content']; ?>
</a><span>[<?php echo $this->_tpl_vars['answer']['title']; ?>
]</span>
							</td>
							<td><?php echo $this->_tpl_vars['answer']['answer']; ?>
</td>
							<td class='t3'><?php echo ((is_array($_tmp=$this->_tpl_vars['answer']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y/%m/%e") : smarty_modifier_date_format($_tmp, "%Y/%m/%e")); ?>
</td>
						</tr>
						<?php endforeach; endif; unset($_from); ?>
						<?php endif; ?>
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->
<!-- 底部 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>
<!-- 底部结束 -->